package by.msokoloff.javaweb2015.webapp.page.plane;

import org.apache.wicket.markup.html.panel.Panel;
import org.apache.wicket.model.CompoundPropertyModel;

import by.msokoloff.javaweb2015.datamodel.Plane;

public class PlaneEditPanel extends Panel {
	
	public PlaneEditPanel(String id, Plane plane) {
		super(id);
		add(new PlaneForm("planeEditForm", new CompoundPropertyModel<Plane>(plane)));
	}

}
